import { Injectable } from "@angular/core";
import {Http} from "@angular/http";

@Injectable()

export class UserPageProvider{

    constructor(private http: Http){}
    verify(){
        return this.http.get('/api/user/verify',{});
    }
    getUserInfo(){
        return this.http.get('/api/user/getUserInfo',{});
    }
    unfavor(param){
        return this.http.post('/api/user/unfavor',param);
    }
}

